package com.nmsl.registration.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nmsl.common.annotation.Excel;
import com.nmsl.common.core.domain.BaseEntity;

/**
 * 患者接诊对象 patient
 * 
 * @author sn
 * @date 2025-02-15
 */
@Data
public class skxPatient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 患者id */
    @Excel(name = "患者id")
    private Long patientId;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 会员等级关联表 */
    @Excel(name = "会员等级关联表")
    private Long membershipLevelId;

    /** 病历id（病历信息表） */
    @Excel(name = "病历id", readConverterExp = "病=历信息表")
    private Long medicalRecordId;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 年龄 */
    @Excel(name = "年龄")
    private String age;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCardNumber;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 民族id（字典） */
    @Excel(name = "民族id", readConverterExp = "字=典")
    private String ethnicId;

    /** 职业id（字典） */
    @Excel(name = "职业id", readConverterExp = "字=典")
    private String occupationId;

    /** 体格信息id（体格信息表） */
    @Excel(name = "体格信息id", readConverterExp = "体=格信息表")
    private Long physicalInfoId;

    /** 处方信息id（处方信息表） */
    @Excel(name = "处方信息id", readConverterExp = "处=方信息表")
    private Long prescriptionInfoId;

    /** 是否住院（0不需要住院，1需要住院） */
    @Excel(name = "是否住院", readConverterExp = "0=不需要住院，1需要住院")
    private Integer isHospitalized;

    /** 床位id（床位表） */
    @Excel(name = "床位id", readConverterExp = "床=位表")
    private Long bedId;

    /** 接诊状态（0未接诊 1接诊中 2已接诊） */
    @Excel(name = "接诊状态", readConverterExp = "0=未接诊,1=接诊中,2=已接诊")
    private Integer receptionStatus;

    /** 患者就诊卡号 */
    @Excel(name = "患者就诊卡号")
    private String membershipCardNumber;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String ext1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String ext2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String ext3;

    /** 扩展字段4 */
    @Excel(name = "扩展字段4")
    private String ext4;

    /** 扩展字段5 */
    @Excel(name = "扩展字段5")
    private String ext5;

    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setMembershipLevelId(Long membershipLevelId) 
    {
        this.membershipLevelId = membershipLevelId;
    }

    public Long getMembershipLevelId() 
    {
        return membershipLevelId;
    }
    public void setMedicalRecordId(Long medicalRecordId) 
    {
        this.medicalRecordId = medicalRecordId;
    }

    public Long getMedicalRecordId() 
    {
        return medicalRecordId;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setIdCardNumber(String idCardNumber) 
    {
        this.idCardNumber = idCardNumber;
    }

    public String getIdCardNumber() 
    {
        return idCardNumber;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setEthnicId(String ethnicId) 
    {
        this.ethnicId = ethnicId;
    }

    public String getEthnicId() 
    {
        return ethnicId;
    }
    public void setOccupationId(String occupationId) 
    {
        this.occupationId = occupationId;
    }

    public String getOccupationId() 
    {
        return occupationId;
    }
    public void setPhysicalInfoId(Long physicalInfoId) 
    {
        this.physicalInfoId = physicalInfoId;
    }

    public Long getPhysicalInfoId() 
    {
        return physicalInfoId;
    }
    public void setPrescriptionInfoId(Long prescriptionInfoId) 
    {
        this.prescriptionInfoId = prescriptionInfoId;
    }

    public Long getPrescriptionInfoId() 
    {
        return prescriptionInfoId;
    }
    public void setIsHospitalized(Integer isHospitalized) 
    {
        this.isHospitalized = isHospitalized;
    }

    public Integer getIsHospitalized() 
    {
        return isHospitalized;
    }
    public void setBedId(Long bedId) 
    {
        this.bedId = bedId;
    }

    public Long getBedId() 
    {
        return bedId;
    }
    public void setReceptionStatus(Integer receptionStatus) 
    {
        this.receptionStatus = receptionStatus;
    }

    public Integer getReceptionStatus() 
    {
        return receptionStatus;
    }
    public void setExt1(String ext1) 
    {
        this.ext1 = ext1;
    }

    public String getExt1() 
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }
    public void setExt4(String ext4) 
    {
        this.ext4 = ext4;
    }

    public String getExt4() 
    {
        return ext4;
    }
    public void setExt5(String ext5) 
    {
        this.ext5 = ext5;
    }

    public String getExt5() 
    {
        return ext5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patientId", getPatientId())
            .append("realName", getRealName())
            .append("membershipLevelId", getMembershipLevelId())
            .append("medicalRecordId", getMedicalRecordId())
            .append("phoneNumber", getPhoneNumber())
            .append("age", getAge())
            .append("gender", getGender())
            .append("idCardNumber", getIdCardNumber())
            .append("address", getAddress())
            .append("ethnicId", getEthnicId())
            .append("occupationId", getOccupationId())
            .append("physicalInfoId", getPhysicalInfoId())
            .append("prescriptionInfoId", getPrescriptionInfoId())
            .append("isHospitalized", getIsHospitalized())
            .append("bedId", getBedId())
            .append("receptionStatus", getReceptionStatus())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .append("ext4", getExt4())
            .append("ext5", getExt5())
            .toString();
    }
}
